package com.lbd.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lbd.common.utils.PageUtils;
import com.lbd.gulimall.product.entity.CategoryEntity;
import com.lbd.gulimall.product.vo.Catalog2VO;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author linbd
 * @email 2236000738@qq.com
 * @date 2021-06-04 17:54:12
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> queryTree();

    void removeCategoryByIds(Long[] catIds);

    Long[] getCatelogPath(Long catId);

    void updateDetail(CategoryEntity category);

    List<CategoryEntity> getLevel1();

    Map<String, List<Catalog2VO>> getCategoryInfo();

    void getCached();
}

